#include <algorithm>
#include <iostream>
using namespace std;

int main() {
  ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int a[3];

  cin >> a[0] >> a[1] >> a[2];
  sort(a, a + 3);
  for (int i = 2; i >= 0; i--) {
    cout << a[i];
  }
  cout << "\n";
  return 0;
}